home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
DISK
/
AFF0917.ARJ
/
AFF.DOC
next >
Wrap
Text File
|
1991-09-17
|
10KB
|
284 lines
AFF.EXE
Another File Finder
September 17, 1991
Brought to you by
The Tech Line BBS
(301) 696-1393
* USR Dual Standard - 24 Hours - Free *
Usage: AFF [d:] string [string] [...] [/? | /A | /H]
Where d: is an optional drive letter and 'string' is the
string of characters within a file name.
You can specify more than one string to search for on
the command line, and the program will match all
files with any of these strings in the name. It's a
logical OR match. The list of strings can be as long
as the command line will allow.
The SPACE between the drive and string is important!
/A searches ALL Drives
/H searches ALL HARD Drives - skips floppies
NOTE: AFF will always skip floppy drives if no floppy is
inserted, and all SUBST and ASSIGN drives. AFF assumes all
networked drives are hard drives.
/? gives program information.
INTRODUCTION
Another File Find (AFF) will search and find a file, anywhere on a disk,
which contains the string specified. To specify the file to find, the
program accepts a string (or set of strings) on the command line. This
is a string of characters which can be anywhere in the file name.
There are many programs available that *seem* to perform this same task.
However, this program is unique from other file find programs because
other programs use the file specification exactly like DOS.
For example, if you give the DOS command:
"DIR *COM*.*"
DOS would give you ALL files just as if you had given it the command
"DIR *.*"
This is not what you may want to do in many situations. With this file
finding program you can give the command:
"AFF COM"
and AFF will show you any file on the disk with the characters "COM"
anywhere in the name. When I do this on my disk I see files like:
COMMAND.COM
TSRCOMM.ZIP
TCOMM.ZIP
TCOMM5.ZIP
Try finding those files with the standard file find programs out there!
USING AFF
AFF has a point and shoot type operation. A window will appear allowing
you to scroll through the list of files which were found.
Use the normal movement keys to scroll through the list - PgUp, PgDn, Up
Arrow, Down Arrow, End, Home, etc.
TO DELETE FILES You can delete files by moving the selection bar
to the file you want to delete, and press the
Del Key.
TO CHANGE DIRECTORIES You can change to a Directory and Exit the
program by moving the selection bar to a File or
Directory line and press the Enter Key.
ONLINE HELP Pressing F1 gives you online Help information.
STATS Pressing F2 gives you some statistics on the
system and the files found
MOUSE HELP Although the F3 selection is not shown on the
screen, it will give you information on using
the mouse. A mouse selection area is on the
screen for mouse help, if the mouse is present
and enabled.
VIEWING A FILE You can View the contents of a file by pressing
Alt-V while the selection bar is on the file you
want to view. AFF will Shell to DOS and run a
batch file named AFFVIEW.BAT.
A sample AFFVIEW.BAT batch file is included in
this ZIP, which shows the different parameters
that are passed to the batch file, then calls
BROWSE.COM (a PC Magazine file viewer). You can
use any file viewer/lister you wish, like Vernon
Beurg's LIST, etc. AFFVIEW.BAT must be in a
directory in your PATH statement. See the
sample batch file included for instructions on
how to make full use of this feature.
You can specify more than one string on the command line. For example:
"AFF PORT COMM"
will show you all files with "PORT" or "COMM" in the the name. This is a
logical OR search. The list of strings can be as long as the command
line will allow.
USING THE MOUSE
Simply move the cursor around the screen while holding the LEFT button
down, and drag the cursor to the file you want to select, delete, or
view.
Once pointing to the desired file a Double Click of one of the mouse
buttons will perform an action:
LEFT Select the file (Same as Enter)
RIGHT Delete the file (Same as Del)
MIDDLE View the file (Same as Alt-V)
You can move the mouse to the Top or Bottom LEFT Corners of the window
and Click the LEFT mouse button to perform a Page Up or Page Down. This
is the same as pressing the PgUp and PgDn keys.
You can move the mouse to the Top or Bottom RIGHT Corners of the window,
and as long as the LEFT mouse button is held down (Pressed), the screen
will scroll up or down just like pressing the Up and Down Arrows.
When the mouse is enabled you will also see some selections on the top
row of the screen. Click the LEFT mouse button on these areas to make
the selection. Selections available at the top of the screen include
Help, Status, Mouse Help, View a File, and Quit the program.
When you have chosen to delete a file, a window will appear and ask if
you are sure you want to delete this file. You can move the mouse cursor
to the desired Yes or No selection and click the LEFT button to select.
However, if you click the RIGHT mouse button it is the same as pressing
Enter (which by default chooses Yes). This makes it quicker to delete
files since you don't have to move the mouse cursor over to the Yes
selection and click -- you can just click the RIGHT button to select Yes.
THIS IS FREEWARE!
This program is released as a FREE program. Use at your own risk, and
enjoy! I enjoy seeing people get good use of my programs, especially
when they are free. Please call my board and let me know how you are
using this program.
OUR BBS
You are welcome to call our Bulletin Board and check for the latest
release of this program, or some of my other programs. Give The Tech
Line BBS a call at 301-696-1393 anytime 24 hours a day. We run PCBoard
software and have a USR HST Dual Standard Modem. You will have access to
this file on your first call.
HISTORY
This program is not made with "version" numbers. I use dates
to show when the program was compiled.
05/18/91 Initial release to the public.
05/24/91 Added the ability to VIEW files via the Alt-V key, which calls
the AFFVIEW.BAT batch file. Cleaned up the code and operation
a little. Added a Control-Break handler and some neat-looking
growing windows. AFF is now Desqview aware.
09/17/91 Added the ability to search for more than one string!
MOUSE Support has been added!
More files can be loaded into the list in memory at one time!
Now we turn off the cursor - looks better.
Changed the color of some of the screens to make them look
better when running on Monochrome systems.
Added a fifth parameter for the AFFVIEW.BAT batch file. Now %5
is the EXTension of the file. This allows you to check the
extension and run PKZip (etc) if it is a .ZIP file and use the
BROWSE or LIST program for other files.
/A and /H parameters added.
Made colors look correct when system is running in BW80 mode,
like many users have on their laptop systems.
Supports video modes with more than 25 lines on the screen!
DISCLAIMER
I, JOHN CROUCH (HEREAFTER KNOWN AS "AUTHOR"), HEREBY DISCLAIM ALL
WARRANTIES RELATING TO THIS SOFTWARE, WHETHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE. THE AUTHOR WILL NOT BE LIABLE FOR ANY
SPECIAL, INCIDENTAL, CONSEQUENTIAL, INDIRECT OR SIMILAR DAMAGES DUE TO
LOSS OF DATA OR ANY OTHER REASON, EVEN IF AUTHOR OR AN AGENT OF AUTHOR
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT SHALL
AUTHORS' LIABILITY FOR ANY DAMAGES EVER EXCEED THE PRICE PAID FOR THE
LICENSE TO USE SOFTWARE (WHICH IS $0), REGARDLESS OF THE FORM OF THE
CLAIM. THE PERSON USING THE SOFTWARE BEARS ALL RISK AS TO THE QUALITY
AND PERFORMANCE OF THE SOFTWARE.